package com.geek.video.service.impl;

import com.geek.video.mapper.UrlAnalysisDao;
import com.geek.video.domain.UrlAnalysis;
import com.geek.video.service.UrlAnalysisService;
import com.geek.video.service.dto.UrlAnalysisDTO;
import com.geek.video.utils.BeanAndMapTransform;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 网站解析表(UrlAnalysis)表服务实现类
 *
 * @author qinxh
 * @since 2021-01-25 16:33:41
 */
@Service("urlAnalysisService")
public class UrlAnalysisServiceImpl implements UrlAnalysisService {

    @Resource
    private UrlAnalysisDao urlAnalysisDao;

    @Override
    public UrlAnalysisDTO queryById(Integer id) {
        return null;
    }

    @Override
    public List<UrlAnalysisDTO> queryAll(UrlAnalysisDTO urlAnalysisDTO) {
        return null;
    }

    @Override
    public UrlAnalysisDTO insert(UrlAnalysisDTO urlAnalysisDTO) {
        return null;
    }

    @Override
    public UrlAnalysisDTO update(UrlAnalysisDTO urlAnalysisDTO) {
        return null;
    }

    @Override
    public Boolean deleteById(Integer id) {

        return this.urlAnalysisDao.deleteById(id) > 0;
    }
}